package net.fltx.p2pserver;

import java.net.Socket;
import java.nio.channels.SelectionKey;
import java.nio.channels.SocketChannel;
import java.util.UUID;

/**
 * 客户端连接器
 * @author fltx.net
 * @Date 2021/2/21 17:19
 * @Version 1.0
 */
public class P2PClientConnector {
    SocketChannel socket;
    String type;
    String session;
    String name;



    public P2PClientConnector(){
        session= UUID.randomUUID().toString();
    }

    public Runnable onMessage(SelectionKey selectionKey){
        return new Runnable() {
            @Override
            public void run() {

            }
        };
    }

}
